public  class Square extends Graph  {
    public Square(double length){
        super(length);
    }

    @Override
    public double perimeter() {

        return getLength()*4;
    }

    @Override
    public double area() {
        return  getLength()*getLength();
    }

}
